import React, { Component } from 'react';
import { Result } from 'antd';
import { Link } from 'react-router-dom';

export default class NotFound extends Component {
  static displayName = 'NotFound';

  render() {
    return (
      <Result
        status="404"
        title="404"
        subTitle="抱歉，你访问的页面不存在"
        extra={<p>您要找的页面没有找到，请返回<Link to="/">首页</Link>继续浏览</p>}
      />
    );
  }
}
